package cn.lingyangwl.agile.infra.datamanage.mode.rqrs;

import cn.lingyangwl.agile.model.constants.*;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author shenguangyang
 */
@Getter
@Setter
public class ImportDatasetTableReq {
    @NotNull(message = ValidationCons.NOT_EMPTY)
    private Long datasourceId;

    /**
     * 表名
     */
    @NotNull(message = ValidationCons.NOT_EMPTY)
    private List<String> tableNames;

    @NotNull(message = ValidationCons.NOT_EMPTY)
    private Long groupId;
}
